package com.hig.risk.mapper;

import java.util.List;
import com.hig.risk.domain.RiskSelfInspection;
import com.hig.risk.domain.RiskSelfInspectionContent;
import com.hig.risk.domain.RiskSelfInspectionStatic;

/**
 * 重大隐患自查清单Mapper接口
 * 
 * @author scp
 * @date 2024-09-29
 */
public interface RiskSelfInspectionMapper 
{
    /**
     * 查询重大隐患自查清单
     * 
     * @param id 重大隐患自查清单ID
     * @return 重大隐患自查清单
     */
    public RiskSelfInspection selectRiskSelfInspectionById(Long id);

    /**
     * 查询重大隐患自查清单列表
     * 
     * @param riskSelfInspection 重大隐患自查清单
     * @return 重大隐患自查清单集合
     */
    public List<RiskSelfInspection> selectRiskSelfInspectionList(RiskSelfInspection riskSelfInspection);

    /**
     * 新增重大隐患自查清单
     * 
     * @param riskSelfInspection 重大隐患自查清单
     * @return 结果
     */
    public int insertRiskSelfInspection(RiskSelfInspection riskSelfInspection);

    /**
     * 修改重大隐患自查清单
     * 
     * @param riskSelfInspection 重大隐患自查清单
     * @return 结果
     */
    public int updateRiskSelfInspection(RiskSelfInspection riskSelfInspection);

    /**
     * 删除重大隐患自查清单
     * 
     * @param id 重大隐患自查清单ID
     * @return 结果
     */
    public int deleteRiskSelfInspectionById(Long id);

    /**
     * 批量删除重大隐患自查清单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteRiskSelfInspectionByIds(Long[] ids);

    public RiskSelfInspection selectOvertime(RiskSelfInspection riskSelfInspection);

    public List<RiskSelfInspectionStatic> selectStaticList(RiskSelfInspection riskSelfInspection);

    public List<RiskSelfInspection> selectContentByBasis(RiskSelfInspection riskSelfInspection);

    public int deleteRiskSelfInspection(RiskSelfInspection riskSelfInspection);

    public List<Object> selectForScreen();
}
